package com.fin.quant.instra.mysql.mapper;

import com.fin.quant.instra.mysql.model.AiUserSettings;
import com.fin.quant.instra.mysql.model.AiUserSettingsExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface AiUserSettingsMapper {
    long countByExample(AiUserSettingsExample example);

    int deleteByExample(AiUserSettingsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AiUserSettings record);

    int insertSelective(AiUserSettings record);

    List<AiUserSettings> selectByExample(AiUserSettingsExample example);

    AiUserSettings selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AiUserSettings record, @Param("example") AiUserSettingsExample example);

    int updateByExample(@Param("record") AiUserSettings record, @Param("example") AiUserSettingsExample example);

    int updateByPrimaryKeySelective(AiUserSettings record);

    int updateByPrimaryKey(AiUserSettings record);
}